#include "CdiRenderBase.h"

CdiRenderBase::CdiRenderBase( LPDIRECT3DDEVICE9 pDevice ) 
  : m_pDevice( pDevice )
{
  AssertValid();
  m_pDevice->AddRef();
}

CdiRenderBase::~CdiRenderBase(void)
{
  if( m_pDevice )
  {
    m_pDevice->Release();
  }
  m_pDevice = NULL;
}

void CdiRenderBase::AssertValid()
{
  _ASSERT( m_pDevice );
}

void CdiRenderBase::DoWork()
{
}
